home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
remote.arc
/
REMOTE.DOC
< prev
next >
Wrap
Text File
|
1985-03-08
|
16KB
|
377 lines
REMOTE Version 1.08
by Greg Haley
1
INTRODUCTION
This program provides tty communications for the TIPC.
Although the program is copyrighted, this program is NOT to be sold.
Users may copy and distribute the program and documentation freely.
REMOTE's features include:
1) Runs under MS-DOS version 1.25 or greater.
2) Supports the TI internal modem, Hayes external modem, or direct connection.
3) Maintains a Dialing Directory.
4) 300 - 19200 baud operation.
5) Tone or pulse auto dial. (both modems)
6) Auto re-dial. (both modems)
7) Busy handling.
8) Full or half duplex operation. (Can be changed on-line)
9) On-line selection of carriage return/linefeed sequence.
10) On-line data capture.
11) ASCII and XMODEM file transfer.
12) Directory listing with file size.
13) Communication status report.
14) Character filtering for incoming characters.
15) Optional port search.
16) Status line that displays the current state of various parameters.
17) Four user-programmable function keys.
2
Getting Started
This disk should contain 3 files:
REMOTE.DOC (This file)
REMOTE.EXE (Executable file)
REMOTE.DIR (Sample dialing directory)
EXTERNAL MODEM SET-UP:
If a Hayes Smartmodem 1200 is used, set the switches as follows:
switch #1: up (supports DTR lead)
switch #2: up (word result codes)
switch #3: down (send result codes)
switch #4: up (echos characters in command state)
switch #5: up (auto-answer on)
switch #6: down (holds carrier detect true)
switch #7: don't care (phone line dependent)
switch #8: down (enables 1200 command recognition)
If any other external modem is used, be sure to set the carrier signal
true at all times. Also please note that if your modem can't accept
'ATDT' or 'ATDP' as dialing prefixes, auto dialing can't be used.
The same holds true if a carriage return can't be used as the dialing
suffix or if the modem does not return the words 'NO CARRIER' or 'CONNECT'
to indicate auto-dial completion. See the section on manual dialing.
3
The Dialing Directory
When REMOTE begins execution, and after each disconnection, the dialing
directory is displayed. Up to 60 entries can be made. The name of each entry
is displayed. To dial, press the F1 key, then type the entry's number and
press ENTER. REMOTE will now dial the phone number. If a connection is not
made, it will delay for about 5 seconds and re-dail the number. This loop
continues until a connection is made or until the user aborts by pressing
the F12 key. Please note that it may take several seconds to abort; so be
patient. If you're using an internal modem, a message is displayed after
every call indicating if the line was busy, the phone wasn't answered, etc..
If you're using a Hayes external modem, you'll be able to hear the call
through the modem's speaker.
To add, delete, or modify a directory entry, press the F5 key. You will
then be asked which number you want to modify. Type the number and the
parameters for that entry are displayed. Make any changes you wish by using
the arrow keys and typing in information. (See the section on modifying
directory entries). When you are done making changes, press the F1 key to
save the changes, or press the F12 key to delete the entry from the directory.
A directory entry may also be deleted by pressing the F8 key rather than
the F5 (modify) key. You'll be asked which number to delete.
The dialing directory may be sorted by pressing the F4 key. Sorting is
done automatically and the dialing directory file is updated after the sort.
To exit REMOTE, press the F12 key anytime the dialing directory is displayed.
Also please note that the dialing directory is stored in the file 'REMOTE.DIR'.
If this file is missing or not in the default directory, REMOTE will create
a new, empty dialing directory.
MODIFYING DIRECTORY ENTRIES:
After you enter the modify mode within the dialing directory, the screen
is cleared and the set-up parameters for the selected directory entry are
displayed. You may save the parameters at any time by pressing F1; or you
may delete the entry from the directory by pressing F12. You must use one
of these keys to exit the modify mode.
To change any of the parameters, move the cursor to the desired field by
pressing the ARROW keys. Some fields (like the phone number field) require
that you enter information from the keyboard. Other fields (like the port
number) are selected merely by pointing at them using the arrow keys.
Remember, the parameters are not saved until you press the F1 key.
The fields Name, Phone Number, and Shift F1 - Shift F4 all require you to
enter information, so we'll discuss each of them seperately. Full editing
is available on all these fields. (See the section on special key functions)
Name:
This is the name that is displayed on the dialing directory listing.
Any upper or lower case alpha-numeric character may be entered here.
However, the first character may not be a blank space.
4
Phone Number:
Enter the phone number here; or if you wish REMOTE to answer the phone,
leave this field blank. The phone number may consist of the numbers
0 - 9 and the characters "-,+()*#". Spaces may be entered but are deleted
automatically when you save the entry or move to another field.
Please note that the character "+" means wait for dial tone with the
internal modem, but the Hayes uses the "," character for the same purpose.
To provide compatibility, the "," character is automatically substituted
in place of the "+" character when dialing with an external modem.
This means you may use the "+" character for either modem!
Shift F1 - Shift F4:
These are the user defined function keys. Any characters entered will
be sent to the other computer whenever the key is pressed. These keys
are useful for storing user id's and passwords, or frequently used
keystrokes. Any upper or lower case alpha numeric character may be entered
here. In addition, the backslash character ("\") is used to indicate a
carraige return - line feed sequence.
SPECIAL KEY FUNCTIONS:
Some keys have special functions while in the modify mode. Here's a list
of them and what they do:
KEY FUNCTION
---------------- ----------------------------------------
UP ARROW Moves to the previous field.
DOWN ARROW Moves to the next field.
SHIFT UP ARROW Moves to the first field. (Name)
SHIFT DOWN ARROW Moves to the last field. (Shift F4)
LEFT ARROW Moves back one character or selection.
RIGHT ARROW Moves forward one character or selection.
DEL Deletes the character under the cursor.
BACK SPACE Deletes the character under the cursor and moves
back one character.
INS Enters insert mode.
SHIFT LEFT ARROW Moves to the first position of the field.
HOME Same as SHIFT LEFT ARROW.
SHIFT RIGHT ARROW Moves to the last position of the field.
SHIFT DEL Deletes all the characters from the cursor
to the end of the field.
F1 Saves the parameters as displayed.
F12 Deletes the entry from the directory listing.
AUTOMATIC DIALING:
REMOTE will auto-dial if a phone number has been specified and the modem
type was not NONE. It will continue to dial until a connection is made or
the user aborts by pressing the F12 key.
MANUAL DIALING:
If you have an external modem that can't accept Hayes commands for auto
dialing, or you wish to do your own dialing, specify 'N' (no modem) for the
modem type. If you're using an internal modem, you have 20 seconds to dial
the number before the modem times out. If you're using a Hayes Smartmodem,
you may type the command 'ATDT' (for tone dialing) or 'ATDP' (for pulse
dialing) and the phone number, followed by a carriage return.
5
PORT SEARCH:
If you specify '?' for the port number, the program will search all four
possible ports, skipping unused ports, until it finds the modem.
This option is NOT recommended unless your modem is the only port on your TIPC.
This option will not work if you specify NONE for the modem type.
6
Function Keys
F1 - Open/Close Capture File:
This key opens a capture file if none is open, or closes the capture
the if it is open. The current state is always displayed. If the capture
file is opened, the user is prompted for the file name.
F2 - Capture On/Off:
This key toggles the capture on and off. It's current state is always
displayed. An error message is returned if no capture file is open.
This key is useful for capturing only those portions of a session that
you are interested in.
F5 - Send File:
This key is used to send a file to the other computer. When you press
this key, you are prompted for the file transfer type (ASCII or XMODEM).
After chosing the type, you're asked for the file name. If you chose
ASCII file transfer, you'll aslo be asked for the number of nulls to use.
Typing a number from 0 to 9 will set the transmission speed. (0 is fastest,
9 the slowest). This feature is useful for transferring files to slower host
computers.
F6 - Receive File:
Use this function to transfer files to the other computer. As with Send
File, you're prompted for the transmission type and file name. Please note
that ASCII file receive stops when a CONTROL Z (end of file) character is
received or until you press F8.
F8 - Abort File Transfer:
Press this key to abort either ASCII or XMODEM file transfers. It may
take several seconds for the transfer to abort.
F9 - Linefeeds On/Off:
Toggles the linefeed character on and off. It's current state is always
displayed. When Linefeed is ON, all carriage returns sent are followed with
a linefeed. When linefeed is OFF, a single carriage return is sent as the
end of line sequence.
F10 - Full/Half Duplex:
This mode toggles the duplex mode between full and half duplex. If you
can't see what you're typing, try turning duplex to half.
Please note that in half duplex mode the computer also echoes all received
characters back to the host computer. Since most modems operate in half
duplex mode, it is recommended that you set the duplex to FULL until a
connection is made.
F11 - Send CONTROL C:
Pressing this key sends a CONTROL C character to the other computer.
Do NOT press the CTRL C key as this may cause the program to terminate.
F12 - Hang Up:
This key is used to disconnect and return to the dialing directory.
Pressing this key while REMOTE is connecting will abort the connection.
7
ALT C - Clear the Screen:
Press this key whenever you wish to clear the screen during a session.
ALT D - Directory listing:
Use this key to get a directory listing. You'll be prompted for the
filespec. You may abort the directory by pressing either the F8 key or
the ESC key. All file sizes are rounded off to the nearest 1000 bytes.
ALT G - Get Screen:
This function copies the screen to the capture file, if one is open.
ALT H - Help Menu:
Pressing this key will display a help menu that lists all the function
keys that are'nt displayed in the status line.
ALT P - Print Screen:
This function prints the screen.
ALT S - View Communication Status:
Use this key to check for communication errors. This function displays
the number of parity, framing, and overrun errors encountered since
the connection began. Also displayed is the number of busy's sent and
received; but this is meaningless if no busy handling was selected.
CHARACTER FILTERING:
The following incoming characters are not printed on the screen or sent to
the capture file:
Character ASCII Code
-----------------------
NUL 0
CTRL A 1
CTRL B 2
CTRL C 3
CTRL D 4
CTRL E 5
CTRL F 6
CTRL N 14
CTRL O 15
CTRL P 16
CTRL Q 17
CTRL R 18
CTRL S 19
CTRL T 20
CTRL U 21
CTRL V 22
CTRL W 23
CTRL X 24
CTRL Y 25
CTRL Z 26
ESC 27
FS 28
GS 29
RS 30
US 31
No character filtering is done on the keyboard or during file transfer.
8
DISCONNECTING:
Anytime you are online and the carrier drops, this program will terminate.
You may force a disconnection at any time by pressing the F12 key.
After disconnection, REMOTE displays the communication status report, then
asks you to press the RETURN key to continue. When you've finished reading
the communication stats, press RETURN to go back to the dialing directory.
STATUS REPORTING:
At disconnection, the program returns the number of busy's sent, the number
of busy's received, and the number of receive errors detected.
The current status may be viewed at any time during a session by pressing
the ALT S key.
9
REMOTE Revisions
Version 1.08 - Linked with new ACS library.
Version 1.07 - Sped up the port search.
Function keys and the prompt 'Connecting...' are now displayed
while REMOTE is dialing or waiting for a connection.
Added a prompt after disconnect. This replaces the old delay
and lets the user read or ignore the stats report.
Version 1.06 - Added the characters # and * to the phone number character set.
Increased the number of directory entries to 60.
Increased the dialing directory's screen access speed.
Added a dialing directory sort.
Added port search for the external modem.
Version 1.05 - Fixed transmit buffer queue bug.
Version 1.04 - Fixed XMODEM queue bug.
Version 1.03 - Added print screen and capture screen functions.
Changed directory routine to prompt for a filespec rather
than just a drive name.
Version 1.02 - Fixed Hayes auto-dial bug @ 300 baud.
Changed code so an error message is always displayed,
never an error code.
Version 1.01 - Added the clear screen function.
Changed code so that all characters sent or received over
the communications port are printed in light blue; all
prompts, error messages, and operator inputs are printed
in white.
10
Any suggestions or comments on this software should be sent to:
Greg Haley
Texas Instruments, Inc.
Personal Computer Services
Defense Suppression Division
P.O. Box 405 M/S 3405
Lewisville, Texas 75067